#obj-m := platform_driver.o
obj-m :=  platform_device.o

KDIR := /home/meng/workspace/linux-4.14.108-ti-xenomai-r106
PWD := $(shell pwd)

all:
	$(MAKE) -C $(KDIR) M=$(PWD) modules

clean:
	rm -rf *.ko
	@rm *.mod.*
	@rm -rf *.o